package yygh.hosp.Service;

import yygh.hospital.model.hosp.Department;
import yygh.hospital.vo.hosp.DepartmentQueryVo;
import yygh.hospital.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DeparmentService  {


     void save(Map<String, Object> map);

    Page<Department> findPageDeparment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String  getDepName(String hoscode,String depcode);

    Department getDepartment(String hoscode, String depcode);
}
